package com.tmsps.ne4weixin.bean.message.custom;

import com.tmsps.ne4weixin.bean.message.custom.vo.MiniProgrampage;
import com.tmsps.ne4weixin.config.enumeration.MsgTypeEnum;


/**
 * @Title: MiniProgrampageMessage.java
 * @Package: com.tmsps.ne4weixin.bean.custom
 * @Description: 客服消息-发送小程序卡片（要求小程序与公众号已关联）
 */
public class MiniProgrampageMessage extends BaseMessage {

	/**
	 * 小程序卡片
	 */
	private MiniProgrampage miniprogrampage;
	 
	public MiniProgrampageMessage(String touser) {
		super(touser, MsgTypeEnum.miniprogrampage);
	}
	
	public MiniProgrampageMessage(String touser, String title, String appid, String pagepath, String thumb_media_id) {
		super(touser, MsgTypeEnum.miniprogrampage);
		this.miniprogrampage = new MiniProgrampage(title, appid, pagepath, thumb_media_id);
	}
	
	public MiniProgrampageMessage(String touser,MiniProgrampage miniprogrampage) {
		super(touser, MsgTypeEnum.miniprogrampage);
		this.miniprogrampage = miniprogrampage;
	}

	public MiniProgrampage getMiniprogrampage() {
		return miniprogrampage;
	}

	public void setMiniprogrampage(MiniProgrampage miniprogrampage) {
		this.miniprogrampage = miniprogrampage;
	}

}
